import 'dart:typed_data';

import 'package:image_picker/image_picker.dart';

Future<Uint8List> pickImage() async {
  var picker = ImagePicker();
  var file =  await picker.pickImage(source: ImageSource.gallery);
  return await file!.readAsBytes();
}